package com.ydsungan.pojo;

import com.fasterxml.jackson.annotation.JsonFormat;
import com.fasterxml.jackson.annotation.JsonIgnore;
import lombok.Data;

import java.util.Date;

@Data
public class DailyVO {

    private Integer id;
    private Integer questionId;
    private Integer collectionNum;
    private Integer likeNum;

    @JsonFormat(pattern = "yyyy-MM-dd", timezone = "GMT+8")
    private Date createTime;

    private String question;
    private String answer;


    private Integer hasLiked;
    private Integer hasCollected;




}
